import java.util.ArrayList;

public class MilestoneModel {
	
	private Milestone[] milestoneList;
	private final static int NUM_MILESTONES = 16;
	
	public MilestoneModel()
	{
		milestoneList = new Milestone[NUM_MILESTONES];
		
		milestoneList[0] = new Milestone(0, true, 702, 494, 0.0, 0.0, "New York City", "newyork.PNG");
		milestoneList[1] = new Milestone(1, false, 645, 505, -0.57, 0.11,"Ohio River", "ohio_river.PNG");
		milestoneList[2] = new Milestone(0, false, 621, 511, -0.24, 0.06,"Cleveland", "cleveland.PNG");
		milestoneList[3] = new Milestone(0, true, 559, 520, -0.62, 0.09,"Chicago", "chicago.PNG");
		milestoneList[4] = new Milestone(1, false, 521, 502, -0.38, -0.18,"Mississippi River", "mississippi_river.PNG");
		milestoneList[5] = new Milestone(0, true, 495, 487, -0.26, -0.15,"Minneapolis", "minneapolis.PNG");
		milestoneList[6] = new Milestone(1, false, 425, 473, -0.70, -0.14,"Missouri River", "missouri_river.PNG");
		milestoneList[7] = new Milestone(0, false, 327, 452, -0.98, -0.21,"Great Falls", "greatfalls.PNG");
		milestoneList[8] = new Milestone(1, false, 267, 425, -0.60, -0.27,"Columbia River", "columbia_river.PNG");
		milestoneList[9] = new Milestone(0, true, 226, 407, -0.41, -0.18,"Vancouver", "vancouver.PNG");
		milestoneList[10] = new Milestone(0, true, 194, 318, -0.32, -0.89,"Prince Rupert", "princerupert.PNG");
		milestoneList[11] = new Milestone(0, false, 193, 224, -0.01, -0.94,"Whitehorse", "whitehorse.PNG");
		milestoneList[12] = new Milestone(0, true, 154, 135, -0.39, -0.89,"Fairbanks", "fairbanks.PNG");
		milestoneList[13] = new Milestone(1, false, 123, 106, -0.31, -0.29,"Yukon River", "yukon_river.PNG");
		milestoneList[14] = new Milestone(2, false, 74, 62, -0.49, -0.44,"Nome", "nome.PNG");
	}
	
	public int getType(int index) {
		return milestoneList[index].getType();
	}
	
	public boolean getStore(int index) {
		return milestoneList[index].getStore();
	}

	public int getSpotX(int index) {
		return milestoneList[index].getSpotX();
	}

	public int getSpotY(int index) {
		return milestoneList[index].getSpotY();
	}

	public double getMovementX(int index) {
		return milestoneList[index].getMovementX();
	}

	public double getMovementY(int index) {
		return milestoneList[index].getMovementY();
	}
	
	public String getName(int index) {
		return milestoneList[index].getName();
	}
	
	public String getImage(int index) {
		return milestoneList[index].getImage();
	}

}
